<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>11</div>
    <script>
        // 环境对象this 函数所指的对象 谁调用，指向谁
        // 事件监听指向调用者
        const box = document.querySelector('div');
        box.addEventListener('click', function () {
            console.log(this);
        })
    </script>
</body>

</html>